﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <!-- 引入 ECharts 文件 -->
    <script src="echarts.js"></script>
    <script src="interface.js"></script>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        html, body {
            width: 100%;
            height: 100%;
            background: #333333;
        }

        #main {
            margin: 0 auto;
            width: 100%;
            height: 100%;
            background: #333333;
        }
    </style>
   
    <script type="text/javascript">    
        window.onload = function () {
            myChart1 = echarts.init(document.getElementById('main'));
        }
        window.onresize = function () {
            myChart1.resize();
        }
    </script>
</head>

<body>
    <!-- 为 ECharts 准备一个具备大小（宽高）的 DOM -->
    <div id="main"></div>
    <!--<script type="text/javascript">
        var CPPData = {
            name: "数据分析",
            data: [
            
                { name: "OK", value: 100 },
                { name: "NG", value: 20 },
                { name: "异常", value: 20 }
               
            ]
        };
        showPieCharts(CPPData);
    </script>-->
    
</body>
</html>